<?php $this->beginContent('//layouts/main'); ?>

<div class="span-4">
	<div id="sidebar">
	<?php
		$this->beginWidget('zii.widgets.CPortlet', array(
			'title'=>'操作面板',
		));
		$this->widget('zii.widgets.CMenu', array(
			'items'=>$this->menu,
			'htmlOptions'=>array('class'=>'operations'),
		));
		$this->endWidget();
	?>
	<?php
		// 片段缓存分类
		if($this->beginCache('category')) {
			$this->beginWidget('zii.widgets.CPortlet', array(
				'title'=>'分类',
			));
			$this->widget('zii.widgets.CMenu', array(
		    	'items'=>$this->category,
				'htmlOptions'=>array('class'=>'operations'),
			));
			$this->endWidget();
		$this->endCache();
		}
	?>
	<?php
		$this->beginWidget('zii.widgets.CPortlet', array(
			'title'=>'知识手册',
		));
		$this->widget('zii.widgets.CMenu', array(
			'items'=>$this->manual,
			'htmlOptions'=>array('class'=>'operations'),
		));
		$this->endWidget();
	?>
	</div><!-- sidebar -->
</div>
<div class="span-20 last">
	<div id="content">
		<?php echo $content; ?>
	</div><!-- content -->
</div>
<?php $this->endContent(); ?>